style context: Avoid a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Sun, 4 Oct 2015 02:40:27 +0000 (22:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 4 Oct 2015 02:42:12 +0000 (22:42 -0400)
gtk/gtkstylecontext.c

index a91db3a42218cf01cf5c93c6fb068c51475bfb48..0217d55b49c9db7fecaae3e8d2fc7a62a26568b6 100644 (file)
@@ -1354,7 +1354,7 @@ gtk_style_context_list_classes (GtkStyleContext *context)
 
   classes = gtk_css_node_list_classes (context->priv->cssnode, &n_classes);
   for (i = n_classes; i > 0; i--)
-    classes_list = g_list_prepend (classes_list, g_quark_to_string (classes[i - 1]));
+    classes_list = g_list_prepend (classes_list, (gchar *)g_quark_to_string (classes[i - 1]));
 
   return classes_list;
 }